package com.zqh.app.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class PushLog {

    private Long pushLogId;

    private String functionName;

    private Date addTime;

    private String updateTime;

    public PushLog(Long pushLogId, String functionName, Date addTime, String updateTime) {
        this.pushLogId = pushLogId;
        this.functionName = functionName;
        this.addTime = addTime;
        this.updateTime = updateTime;
    }
    public PushLog(){
        super();
    }

    public Long getPushLogId() {
        return pushLogId;
    }

    public void setPushLogId(Long pushLogId) {
        this.pushLogId = pushLogId;
    }

    public String getFunctionName() {
        return functionName;
    }

    public void setFunctionName(String functionName) {
        this.functionName = functionName;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
